|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.runtime.Component
org.eclipse.vtp.framework.engine.runtime.Configurable
public abstract class Configurable
Base class for components that accept configuration data.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.vtp.framework.engine.runtime.Component |
|---|
blueprint, constructors, mutators |
| Constructor Summary | |
|---|---|
protected |
Configurable(Blueprint blueprint,
java.lang.Class type,
org.w3c.dom.Element[] elements)
Creates a new Configurable. |
| Method Summary | |
|---|---|
protected Builder |
createBuilder(Scope scope)
Creates a builder of this component for the specified scope. |
protected abstract IContext |
createServiceRegistry(Scope scope)
Creates a service registry for the specified scope. |
protected java.lang.Object[] |
lookupAllConfigurations(java.lang.String identifier,
IContext serviceRegistry)
Returns all the configuration objects in the supplied scope with the specified identifier. |
protected java.lang.Object |
lookupConfiguration(java.lang.String identifier,
IContext serviceRegistry)
Looks up a single configuration object in the supplied scope with the specified identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Configurable(Blueprint blueprint,
java.lang.Class type,
org.w3c.dom.Element[] elements)
throws java.lang.NullPointerException
blueprint - The blueprint of the process.type - The type of the configurable component.elements - The configuration data or null for no
configuration data.
java.lang.NullPointerException - If the supplied blueprint is null.
java.lang.NullPointerException - If the supplied type is null.| Method Detail |
|---|
protected java.lang.Object lookupConfiguration(java.lang.String identifier,
IContext serviceRegistry)
identifier - The identifier of the configuration object to return.serviceRegistry - The service registry that is bound to the
configurable component.
null if one is not
found.
protected java.lang.Object[] lookupAllConfigurations(java.lang.String identifier,
IContext serviceRegistry)
identifier - The identifier of the configuration objects to return.serviceRegistry - The service registry that is bound to the
configurable component.
null if none are
found.protected Builder createBuilder(Scope scope)
scope - The scope of the instance to create.
protected abstract IContext createServiceRegistry(Scope scope)
scope - The scope to create the registry for.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||